\hypertarget{lcd_8c}{
\section{powermeter/display\_\-unit/lcd.c File Reference}
\label{lcd_8c}\index{powermeter/display\_\-unit/lcd.c@{powermeter/display\_\-unit/lcd.c}}
}
Character LCD driver for HD44780/SED1278 displays.  


{\tt \#include $<$avr/io.h$>$}\par
{\tt \#include $<$avr/pgmspace.h$>$}\par
{\tt \#include \char`\"{}global.h\char`\"{}}\par
{\tt \#include \char`\"{}delay.h\char`\"{}}\par
{\tt \#include \char`\"{}lcd.h\char`\"{}}\par
\subsection*{Functions}
\begin{CompactItemize}
\item 
\hypertarget{lcd_8c_275ea26d1410a9c1eca24d0bb06d3e03}{
void \textbf{write\_\-data} (unsigned char data)}
\label{lcd_8c_275ea26d1410a9c1eca24d0bb06d3e03}

\item 
\hypertarget{lcd_8c_08148078f14a67d77b38179c278d5f3d}{
unsigned char \textbf{read\_\-data} (void)}
\label{lcd_8c_08148078f14a67d77b38179c278d5f3d}

\item 
\hypertarget{lcd_8c_efbaed645e00a4e5976930ab1b0ae888}{
unsigned char \textbf{\_\-\_\-attribute\_\-\_\-} ((progmem))}
\label{lcd_8c_efbaed645e00a4e5976930ab1b0ae888}

\item 
\hypertarget{lcd_8c_353da5a36c2ec75a1ec31d69b140304e}{
void \textbf{lcdInitHW} (void)}
\label{lcd_8c_353da5a36c2ec75a1ec31d69b140304e}

\item 
\hypertarget{lcd_8c_97584984341c35313078b96e0163bb8d}{
void \textbf{lcdBusyWait} (void)}
\label{lcd_8c_97584984341c35313078b96e0163bb8d}

\item 
\hypertarget{lcd_8c_bf856e8987517e123bb9a44f606e46d0}{
void \textbf{lcdControlWrite} (u08 data)}
\label{lcd_8c_bf856e8987517e123bb9a44f606e46d0}

\item 
\hypertarget{lcd_8c_950fc37672f35374fb0bdf4bd5d27ac1}{
u08 \textbf{lcdControlRead} (void)}
\label{lcd_8c_950fc37672f35374fb0bdf4bd5d27ac1}

\item 
\hypertarget{lcd_8c_3c9fce3cf3a713cce3ab81421fa8e7af}{
void \textbf{lcdDataWrite} (u08 data)}
\label{lcd_8c_3c9fce3cf3a713cce3ab81421fa8e7af}

\item 
\hypertarget{lcd_8c_96fc21c69ce31fc15028426c350f5831}{
u08 \textbf{lcdDataRead} (void)}
\label{lcd_8c_96fc21c69ce31fc15028426c350f5831}

\item 
\hypertarget{lcd_8c_3004c9c4fb128520f24f4407dca4f8cf}{
void \textbf{lcdInit} ()}
\label{lcd_8c_3004c9c4fb128520f24f4407dca4f8cf}

\item 
\hypertarget{lcd_8c_9e70639fae916438e72efc1ec49c465c}{
void \textbf{lcdHome} (void)}
\label{lcd_8c_9e70639fae916438e72efc1ec49c465c}

\item 
\hypertarget{lcd_8c_33ae394d426d486ccb84b73b2aed9104}{
void \textbf{lcdClear} (void)}
\label{lcd_8c_33ae394d426d486ccb84b73b2aed9104}

\item 
\hypertarget{lcd_8c_9f9b09222be50f4db11add0aab194934}{
void \textbf{lcdGotoXY} (u08 x, u08 y)}
\label{lcd_8c_9f9b09222be50f4db11add0aab194934}

\item 
\hypertarget{lcd_8c_0af2b14586a1311e541c5a83baac3134}{
void \textbf{lcdLoadCustomChar} (u08 $\ast$lcdCustomCharArray, u08 romCharNum, u08 lcdCharNum)}
\label{lcd_8c_0af2b14586a1311e541c5a83baac3134}

\item 
\hypertarget{lcd_8c_635d73a36518029d07f7856a2ad79e4e}{
void \textbf{lcdPrintData} (char $\ast$data, u08 nBytes)}
\label{lcd_8c_635d73a36518029d07f7856a2ad79e4e}

\item 
\hypertarget{lcd_8c_2ad3d09e447e5b5f33b1dd82b83fe756}{
void \textbf{lcdProgressBar} (u16 progress, u16 maxprogress, u08 length)}
\label{lcd_8c_2ad3d09e447e5b5f33b1dd82b83fe756}

\end{CompactItemize}


\subsection{Detailed Description}
Character LCD driver for HD44780/SED1278 displays. 



Definition in file \hyperlink{lcd_8c-source}{lcd.c}.